package com.fansl.allround.daemon.quartz.config;

/**
 * @author fansl
 * @Description: 任务调度通用常量
 * @date 2020/1/11 11:15
 */
public interface ScheduleConstants {
    String JOB_PROPERTIES_KEY = "JOB_PROPERTIES_KEY";
    String JOB_NAME_PREFIX = "JOB_NAME_";
    String TRIGGER_NAME_PREFIX = "TRIGGER_NAME_";

    String METHOD_PARAM_TYPE_NAME = "methodParamType";
    String METHOD_PARAM_VALUE = "methodParamValue";

    /** 默认 */
    String MISFIRE_DEFAULT = "0";

    /** 立即触发执行 */
    String MISFIRE_IGNORE_MISFIRES = "1";

    /** 触发一次执行 */
    String MISFIRE_FIRE_AND_PROCEED = "2";

    /** 不触发立即执行 */
    String MISFIRE_DO_NOTHING = "3";

    String CONCURRENT_TASK_REMARK = "0";
}
